package org.ioc.com.book_test1.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.ioc.com.book_test1.model.UserInfo;

@Mapper
public interface UserInfoMapper {

    @Select("select id,user_name,password from user_info where user_name=#{userName}")
    UserInfo queryByName(String userName);
}
